<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>刘争澳的个人网站</title>
    <style>
        /* 通用样式 */
        body {
            margin: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(45deg, #6a11cb, #2575fc);
            color: white;
            line-height: 1.6;
            padding: 0;
            overflow-x: hidden;
        }

        header {
            background-color: rgba(0, 0, 0, 0.6);
            padding: 20px;
            text-align: center;
            animation: fadeIn 2s ease-in-out;
        }

        header h1 {
            margin: 0;
            font-size: 2.5em;
        }

        header p {
            font-size: 1.2em;
            color: #f0f0f0;
        }

        /* 首页背景和布局 */
        section {
            padding: 40px 20px;
        }

        .container {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 30px;
        }

        .card {
            background-color: #333;
            border-radius: 10px;
            padding: 20px;
            width: 280px;
            text-align: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s;
        }

        .card:hover {
            transform: scale(1.1);
        }

        .card h3 {
            margin-bottom: 15px;
            font-size: 1.8em;
            color: #f4f4f4;
        }

        .card p {
            font-size: 1.1em;
            color: #bbb;
        }

        .button {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            font-size: 1.2em;
            border-radius: 25px;
            display: inline-block;
            margin-top: 20px;
            transition: background-color 0.3s ease;
        }

        .button:hover {
            background-color: #45a049;
        }

        /* 游戏区样式 */
        #game {
            background: #222;
            padding: 50px;
            text-align: center;
            margin-top: 50px;
            border-radius: 10px;
        }

        #game button {
            font-size: 2em;
            padding: 20px;
            background-color: #f0c400;
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
        }

        #game button:hover {
            background-color: #f0a800;
        }

        /* 联系方式部分 */
        #contact {
            background: #222;
            color: white;
            padding: 50px 20px;
            text-align: center;
        }

        #contact ul {
            list-style: none;
            padding: 0;
        }

        #contact li {
            font-size: 1.2em;
            margin: 10px 0;
        }

        footer {
            background: #111;
            color: white;
            padding: 20px;
            text-align: center;
        }

        footer a {
            color: #4CAF50;
            text-decoration: none;
        }

        /* 动画效果 */
        @keyframes fadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }
    </style>
</head>
<body>

    <!-- Header Section -->
    <header>
        <h1>刘争澳的个人网站</h1>
        <p>欢迎访问我的个人页面，了解我的职业、兴趣与更多信息。</p>
    </header>

    <!-- About Section -->
    <section>
        <div class="container">
            <div class="card">
                <h3>关于我</h3>
                <p>大家好，我是刘争澳，来自河北邢台，今年25岁。退伍后，我专注于职业发展，梦想开设一家咖啡厅。</p>
                <a href="#about" class="button">了解更多</a>
            </div>
            <div class="card">
                <h3>职业目标</h3>
                <p>我的目标是创办一家独具特色的咖啡馆，并在酒店管理、咖啡文化方面有所发展。</p>
                <a href="#goals" class="button">了解更多</a>
            </div>
            <div class="card">
                <h3>兴趣爱好</h3>
                <p>我热衷于编程、咖啡文化和与人互动。喜欢探索新的技能和挑战。</p>
                <a href="#hobbies" class="button">了解更多</a>
            </div>
        </div>
    </section>

    <!-- Game Section -->
    <section id="game">
        <h2>小游戏 - 点击挑战</h2>
        <p>点击下方按钮，尽量在短时间内多次点击！</p>
        <button onclick="startGame()">开始游戏</button>
        <p id="gameStatus">你已点击: <span id="clickCount">0</span> 次</p>
    </section>

    <!-- Contact Section -->
    <section id="contact">
        <h2>联系方式</h2>
        <ul>
            <li>邮箱：1094951393@qq.com</li>
            <li>微博：<a href="https://weibo.com/安眠氟西丁" target="_blank">安眠氟西丁</a></li>
            <li>抖音：<a href="https://www.douyin.com/user/困了就睡饱/" target="_blank">困了就睡饱</a></li>
        </ul>
        <p><a href="mailto:1094951393@qq.com" class="button">发送邮件</a></p>
    </section>

    <!-- Footer -->
    <footer>
        <p>&copy; 2024 刘争澳. 保留所有权利。 <br> 设计并开发于我的个人网站。</p>
    </footer>

    <!-- 游戏脚本 -->
    <script>
        let clickCount = 0;
        let gameStarted = false;

        function startGame() {
            if (!gameStarted) {
                gameStarted = true;
                clickCount = 0;
                document.getElementById('clickCount').textContent = clickCount;
                document.querySelector('#game button').textContent = '点击我！';
                setInterval(() => {
                    clickCount++;
                    document.getElementById('clickCount').textContent = clickCount;
                }, 1000);
            }
        }
    </script>

</body>
</html>